package com.hjl.model;




import java.io.Serializable;
import java.util.Date;

/**
 * @author ServivE
 * @version 0.1
 * @className User
 * @description
 * @date 2024/8/21 10:51
 * @since jdk17
 */
//@Setter
//@Getter
//@NoArgsConstructor
//@AllArgsConstructor
public class User implements Serializable {
    private int id;
    private String name;
    private String password;
    private int age;
   /* private double sal;
    private Date birthday;*/

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassWord() {
        return password;
    }

    public void setPassWord(String passWord) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }



    public User() {
    }

    public User(int id, String name, String password, int age) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.age = age;
    }
}
